﻿using System;
using System.CodeDom;

namespace Wicresoft.EKA.NRemedy.CodeGenerate
{
    public class GenerateRootNamespace : IGenerateRootNamespace
    {
        private string namespacem;

        public GenerateRootNamespace(string namespacem)
        {
            // TODO: Complete member initialization
            this.namespacem = namespacem;
        }



        public void Create(CodeCompileUnit codeCompileUnit)
        {
            if (codeCompileUnit == null) throw new ArgumentNullException("codeCompileUnit");
            codeCompileUnit.Namespaces.Add(new CodeNamespace(namespacem));
        }
    }
}
